<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <title>跑么杯争霸赛敬请期待</title>
    <link rel="stylesheet" type="text/css" media="screen" href="{$staticHost}/static/css/base.css?v=14" />
    <link rel="stylesheet" type="text/css" media="screen" href="{$staticHost}/static/css/iconfont.css?v=14" />
    <link rel="stylesheet" type="text/css" media="screen" href="{$staticHost}/static/css/run.css?v=14" />
    <script src="{$staticHost}/static/js/jquery.min.js"></script>
    <script src="{$staticHost}/static/js/mod.js"></script>
   
</head>
<body class="pao-expect">
  <img class="expect-img" src="/static/images/img/pao1.png" alt="">
  <section class="countdown">
      <h4>竞赛倒计时</h4>
      <div>
        <span id="t_d"></span>
        <span>天</span>
        <span id="t_h"></span>
        <span>时</span>
        <span id="t_m"></span>
        <span>分</span>
        <span id="t_s"></span>
        <span>秒</span>
      </div>
      <p>
        精彩赛事即将开始<br/>
        尽情期待
        <a class="dib color-blue f14 kgz">查看详情</a>
      </p>
  </section>
  <nav class="homenav">
    <a href="paomeHome"><i class="iconfont icon-zhuye"></i>首 页</a>
    <a  class="on" href="paoExpect"><i class="iconfont icon-paihangbang"></i> 排行榜</a>
    <a href="paoExpect"><i class="iconfont icon-dating"></i>大 厅</a>
   <a href="meCenter">
        
        <i class="iconfont icon-wode"></i>
        我的
    </a>
  </nav>
</body>
<script type="text/javascript">
  
  var sup = typeof jw == "object";
  if(typeof jw == "object") {
    jw.api('copy_current_url', JSON.stringify({'status': false}));
    jw.api('share_button', JSON.stringify({'status': true}));
    jw.api('set_share_info', JSON.stringify({
      'title': '我正在参与跑么杯争霸赛，快来加入我的战队赢取5000元奖励吧！',
      'description':'11月14日，就在虎扑跑步',
      'img_url':'http://irun.hupu.com/static/images/share/pao.png',
      'link_url':'{$staticHost}/paome_webIndex/paoShare',
    }));
  }
  $(function(){
   
      var endtime = 1479052799;

      setInterval(function(){
        var now = parseInt((new Date()).getTime()/1000)
        var a = GetRTime(now,endtime)
      },0);

    });
    $(".kgz").click(function(){
      if(!sup){
        window.location.href="http://irun.hupu.com/topic/4718008.html"
      }else{
        window.location.href="joggers://topic/4718008";
      }
    
    })
    function GetRTime(stime,etime){
      var t =etime - stime;
      var d=0,h=0, m=0,s=0;
      if(t>=0){
        d=Math.floor(t/60/60/24);
        h=Math.floor(t/60/60%24);
        m=Math.floor(t/60%60);
        s=t-h*3600-m*60-d*86400
      }else{
        window.location.href="paomeHome";
      }
      if (h<10) {
        h = '0'+h
       }
       if (m<10) {
        m = '0'+m
       }
       if (s<10) {
        s = '0'+s
       }
      $("#t_d").text(d);
      $("#t_h").text(h);
      $("#t_m").text(m);
      $("#t_s").text(s);
      return s
    }
</script>
{template 'show/web-footer'}
